 class Student implements Comparable<Student>{
    public int age;
    public String name;
    Student(int age,String name) {
        this.name = name;
        this.age = age;
    }

     @Override
     public int compareTo(Student o) {
         return 0;
     }
 }

public class Test {
    public static void main(String[] args) {

    }
}